Smartling\Services\ContentRelationsDiscoveryService C

Total Complexity 105
Dependencies 46
Dependents 3
Total lines 713
Lines of code 517
Logical lines of code 313
Comment lines 55
Methods 22
Properties 20

Methods 22

Method Rating Maintainability Complexity Lines of code
getRelations()
B
32 20 101
createSubmissions()
B
35 14 88
normalizeReferences()
A
44 15 45
clone()
S
45 6 45
getReferencesFromAcf()
S
53 7 22
bulkUpload()
S
46 6 37
getReferencesFromGutenbergReplacementRules()
S
56 5 17
getSources()
S
60 4 14
shortcodeHandler()
S
62 4 11
getPostContentReferences()
S
60 3 13
addFlattenedBlock()
S
60 3 12
getTaxonomiesForContentType()
S
64 3 10
addPostContentReferences()
S
58 2 14
extractFieldsFromShortcodes()
S
61 2 12
__construct()
S
54 1 21
getBatchUid()
S
59 1 17
extractFieldsFromGutenbergBlocks()
S
66 2 8
getBackwardRelatedTaxonomies()
S
65 2 9
getTitle()
S
64 2 9
storeWithJobInfo()
S
71 1 6
logSubmissionCreated()
S
77 1 3
getLogger()
S
82 1 3